/*
URI de conección con base de datos MongoDB
ver ver http://www.mongodb.org/display/DOCS/Connections para mayor información
*/
module.exports.mongodbConnectionURI = 'mongodb://localhost/tickmap';
module.exports.applicationPort = 20000;

module.exports.configureApplication = function (app, express) {
	app.configure(function() {
	    app.use(express.logger());
	    app.use(express.errorHandler());
	    app.use(express.bodyParser());
	    app.use(express.methodOverride()   );
	    app.use(express.static(__dirname + '/../static'));
	}); 

	app.set('views', __dirname + '/../views');
	app.set('view engine', 'jade');
	app.set('view options',{
	    layout: true
	});
}